﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PanGu;

namespace PatientInformationExtract.Dictionary.Models
{
    public class DictionaryWord
    {
        private string _name;
        public string Name { get { return this._name; } }
        private string _english;
        public string English { get { return this._english; } }
        private POS _pos;
        public POS POS { get { return this._pos; } }
        private int _frequency;
        public int Frequency { get { return this._frequency; } }

        private List<string> _synonyms;
        public List<string> Synonyms { get { return this._synonyms; } }

        public DictionaryWord(string name, POS pos, int frequency)
            : this(name, "", pos, frequency, new List<string>())
        {
        }

        public DictionaryWord(string name, string english, POS pos, int frequency)
            : this(name, english, pos, frequency, new List<string>())
        {
        }

        public DictionaryWord(string name, POS pos, int frequency, List<string> synonyms)
            : this(name, "", pos, frequency, synonyms)
        {
        }

        public DictionaryWord(string name, string english, POS pos, int frequency, List<string> synonyms)
        {
            _name = name;
            _english = english;
            _pos = pos;
            _frequency = frequency;
            _synonyms = synonyms;
        }
    }
}
